function main(params) {
    debugger
    console.log(params)
    const PATROL_FLAG = params.PATROL_FLAG.value
    //1819318008167911424
    let pageId;
    if (PATROL_FLAG === "1") {
        pageId = "1934504932167122944"
    } else {
        pageId = "1934504998613286912"
    }
    // 使用vue router 跳转

    this.$router.push({
        name: "page-preview",
        query: {
            title: "详情",
            pageId: pageId,
            id: parseInt(params.id.value),
            showHeader: this.$route.query.showHeader,
            pageTitle: "查看详情",
            linkTitle:'查看详情',
            showBackHeade: true,
            isFromAction: 1,
            _t: new Date().getTime() + ""
        }
    });

}
